import React from "react";

function Home(props){
    return(
        <div>
            <h1 style={{color:'red'}}>{props.title}</h1>
            <h2>{props.msg}</h2>
        </div>
    )
}

export default Home;